﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Yule8xCommon.Applib;

namespace Yule8xWxToolkit.Other
{
    public partial class WxShare : System.Web.UI.Page
    {
        protected string appid, appsecret, timestamp, noncestr, signature;
        protected void Page_Load(object sender, EventArgs e)
        {
            appid = AppInfo.AppID;
            appsecret= AppInfo.AppSecret;
            timestamp = WechatUtil.GetTimestamp().ToString();
            noncestr = WechatUtil.GetNonceStr();
            signature = WechatUtil.GetSignature(WechatUtil.GetJSAPITicket(), noncestr, timestamp, "https://wx.34537.com/other/wxshare.aspx");
        }
    }
}